package com.javalong.affairs.base.constant;

import java.lang.reflect.Type;
import java.util.List;

import com.google.gson.reflect.TypeToken;
import com.javalong.affairs.base.model.Auditor;
import com.javalong.affairs.base.model.Dept;
import com.javalong.affairs.base.model.MessageInfo;
import com.javalong.affairs.base.model.MessageStatistic;
import com.javalong.affairs.base.model.Praise;
import com.javalong.affairs.base.model.Schedule;
import com.javalong.affairs.base.model.ScheduleTree;
import com.javalong.affairs.base.model.SimpleMessage;
import com.javalong.affairs.base.model.Suggest;
import com.javalong.affairs.base.model.TreeNode;
import com.javalong.affairs.base.model.User;
import com.javalong.affairs.module.renwujinzhang.model.NoticeMsg;
import com.javalong.affairs.module.renwujinzhang.model.Task;

public class DataType {
    public final static Type MESSAGE = new TypeToken<MessageInfo>() {
    }.getType();
    public final static Type USER = new TypeToken<User>() {
    }.getType();
    public final static Type LIST_MESSAGE = new TypeToken<List<MessageInfo>>() {
    }.getType();
    public final static Type LIST_USER = new TypeToken<List<User>>() {
    }.getType();
    public final static Type LIST_DEPT = new TypeToken<List<Dept>>() {
    }.getType();
    public final static Type LIST_SIMPLEMESSAGE = new TypeToken<List<SimpleMessage>>() {
    }.getType();
    public final static Type MESSAGESTATISTIC = new TypeToken<MessageStatistic>() {
    }.getType();
    public final static Type SCHEDULE = new TypeToken<Schedule>() {
    }.getType();
    public final static Type TREENODELIST = new TypeToken<List<TreeNode>>() {
    }.getType();
    public final static Type AUDITORLIST = new TypeToken<List<Auditor>>() {
    }.getType();
    public final static Type SCHEDULETREELIST = new TypeToken<List<ScheduleTree>>() {
    }.getType();

    public final static Type LIST_TRACKTASK = new TypeToken<List<Task>>() {
    }.getType();

    public final static Type LIST_SUGGEST = new TypeToken<List<Suggest>>() {
    }.getType();

    public final static Type LIST_PRAISE = new TypeToken<List<Praise>>() {
    }.getType();

    public final static Type LIST_NOTICEMSG = new TypeToken<List<NoticeMsg>>() {
    }.getType();
}
